'use strict';

function hybrid_operation(collection) {
  var arr=[];
  var a;
  for(let i of collection){
          a=i*3+2;
          arr.push(a);
   }
  var ab=arr.reduce( function (total,item){
    return total + item;}
    ,0);
  console.log(ab);
  return ab;
  //在这里写入代码
}

module.exports = hybrid_operation;

